import AppTabbar from '@/layout/AppTabbar'

const AppTabbarRoute = {
  path: '/',
  component: AppTabbar,
  redirect: '/home',
  name: 'AppHome',
  meta: {
    title: '首页',
  },
  children: [
    {
      path: 'home',
      component: () => import('@/views/home/index'),
      name: 'Home',
      meta: { title: '首页' }
    },
    {
      path: 'myCenter',
      component: () => import('@/views/my-center/index'),
      name: 'MyCenter',
      meta: { title: '个人中心' }
    },
    {
      path: 'order',
      component: () => import('@/views/order/index'),
      name: 'Order',
      meta: { title: '订单' }
    },
  ]
}

export default AppTabbarRoute